package com.oig.sys.base.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * @author wuxl
 */
@Getter
@Setter
@ToString
@Entity
@Table(name = "tb_bank_no")
public class TbBankNo implements Serializable {

	/**
	 */
	@Id
	@Column(name = "bank_no", nullable = false)
	private String bankNo;

	/**
	 */
	@Column(name = "bank_name", length = 128)
	private String bankName;

	/**
	 */
	@Column(name = "status")
	private String status;

	/**
	 */
	@Column(name = "bank_code")
	private String bankCode;
	/**
	 */
	@Column(name = "country_code")
	private String countryCode;

	/**
	 */
	@Column(name = "country_name")
	private String countryName;

	/**
	 * SAP维护的国家编码, 做冗余
	 */
	@Column(name = "country_apply_code", length = 6)
	private String countryApplyCode;

	/**
	 */
	@Column(name = "city_code")
	private String cityCode;

	/**
	 */
	@Column(name = "city_name")
	private String cityName;

	/**
	 */
	@Column(name = "address")
	private String address;
}
